package com.xiaomi.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Vehicle {

    // "三元电池"
    public static final String BATTERY_TYPE_THREE = "三元电池";
    // "铁锂电池"
    public static final String BATTERY_TYPE_IRON = "铁锂电池";

    private String vid;//车辆id
    private Long frameNumber;//车架号
    private String batteryType;//电池类型
    private Double totalMileage;//总里程
    private Integer healthStatus;//健康状况
    private LocalDateTime createTime;//创建时间
    private LocalDateTime updateTime;//更新时间
}
